<%# Link to the "Last" page
  - available local variables
    url:           url to the last page
    current_page:  a page object for the currently displayed page
    total_pages:   total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<% unless current_page.last? %>
<li>
  <%= link_to_unless current_page.last?, '<i class="uk-icon-angle-double-right"></i>'.html_safe, url, :remote => remote %>

</li>
<% end %>
<li class="uk-float-right">
  <%= form_tag url_for(request.query_parameters.except(:page)), method: :get, remote: remote, class: 'uk-form' do %>
      <%= hash_to_hidden_fields(request.query_parameters.except(:page)) %>
      <%= text_field_tag :page, current_page, style: 'height: 26px;width:40px' %>
      <%= submit_tag '跳转', class: 'uk-button'%>
  <% end %>
</li>
